home *** CD-ROM | disk | FTP | other *** search
- 1990/10/18
- RE: 'dgvcon.arc'
-
- I'm not going to do much preparation for distributing
- this file set. I'm just adding this information in this
- file to explain it a bit, then I'm going to ARC it and
- distribute it. The program name is short for "DigiView Converter".
- As I understand the situation, Digiview's software
- is capable of creating a 7 bit plane IFF/ILBM file in
- monochrome mode. But some programs on the Amiga will
- not handle this file type. Ironically, many which have
- problems with the 7 bit plane files will handle an 8
- bit plane file without problems. So the original request
- Joe made was to simply to write a converter from the
- Byte Per Pixel form files that Digiview creates (their
- own proprietary file type) to an 8 bit plane IFF/ILBM,
- loadable by those programs on the Amiga that had problems
- with 7 bit plane files.
-
- The source code was written, compiled and tested
- using Sozobon C on the Atari ST. It is reasonably portable.
- I do NOT generally use the 'f' (file oriented) functions in C.
- I have not found this to be necessary for most programs
- to be reasonably portable. As such, some knowledge of C
- will be necessary and some changes will be needed, particularly
- in openning files on whatever compiler and system you
- are targetting.
-
- 1990/09/20
-
- This is a rather unusual development. I'm starting with
- the 'ImCon' module from the 'ICap' package program I wrote
- a long time ago and "mutating" it into a program to convert
- Digiview files to 24 bit IFF/ILBM format. This program
- is being written because Joe Chiazzesse asked me to write
- it for him months ago. Since that time, Joe has sold his
- Amiga and bought a Mac30. So ironically, he'll probably
- never use the program. But I felt that it would be good
- for me to complete it in case he ever gets an Amiga again,
- or better still, if I get an Amiga in the future -- which
- is actually fairly likely.
-
- Progress:
-
- 1. Port ImCon from OS-9 6809 version to Atari ST. Compiler
- is a slightly modified version of Sozobon C version 1.2.
- NOTE: type 'int' is a 16 bit word for this compiler.
-
- 1990/09/21:
- This has been done. Happily, I also fixed a long known
- bug while I was at it, so the program is in even better
- shape for this overall project.
-
- 2. Strip out OS-9 #ifdefs leaving only Atari ST code
- for simplicity.
-
- 1990/09/21 12:23:
- This has been done satisfactorily. I have left some
- #ifdefs where I think the ST code could be changed
- later to better code or to remind me of problems.
-
- 3. Strip out Degas support code leaving only the IFF/ILBM
- conversion.
-
- 1990/09/21 13:37:
- This has now been completed. In doing so, I also
- changed the module name to 'DgvCon' and moved some
- #defines to the .h file where they should have been.
- I have removed the cropping code, but I've left in
- the contrast and brightness adjustments for now.
-
- 4. Adapt the conversion to Digiview -> IFF/ILBM.
-
- 1990/09/25
- Version 0.02 -- The -t switch has been implimented. All
- the planned dash switches are therefore coded and in
- theory working. BUT, I have not had time to test any
- of them. ONLY the basic conversion (dgvcon infile outfile.iff)
- has been tested and is known to work. I don't have
- time right now for further testing.
-
- The code has been cleaned up a bit for printout.
-
- 1990/09/24
- The basic file converter is complete and tested.
- The 'dgvcon' utility reads a 640 * 400 monochrome file
- (input file size 256,000 bytes) and outputs an 8 bit plane
- ILBM file that can be read by Page Stream. I have not
- tested the -b, -c or -p switches, but they should all work.
- The code for the -t switch in the 'argv' unpacking routine
- is not implimented, but the program should be able to
- work with files of 320 * 400 and 320 * 200 by simply
- adding code to change the 'hdrstr.bm_w' and 'hdrstr.bm_h'
- variables.
-
- 1990/10/04
- Last night I corrected the header formation. The calculation
- of Chunks was slightly wrong. I also changed the algorythm for
- calculating the Colour Map values. Unfortunately, this
- introduced a bug that shortened the file output. I corrected
- that this morning.
-
- So, although I could push the program a bit further, as
- far as I'm concerned, the program is "done" -- for now.
-
- Cheers! -- Jim O.
-
-